/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfoeducation.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 升学的业务Entity
 * @author zms
 * @version 2018-04-08
 */
public class UpStudy extends DataEntity<UpStudy> {
	
	private static final long serialVersionUID = 1L;
	private String upName;		// 业务名称
	private String upforShort;		// 简介
	private String upImg;		// 图片路径
	
	public UpStudy() {
		super();
	}

	public UpStudy(String id){
		super(id);
	}

	@Length(min=1, max=30, message="业务名称长度必须介于 1 和 30 之间")
	public String getUpName() {
		return upName;
	}

	public void setUpName(String upName) {
		this.upName = upName;
	}
	
	@Length(min=1, max=255, message="简介长度必须介于 1 和 255 之间")
	public String getUpforShort() {
		return upforShort;
	}

	public void setUpforShort(String upforShort) {
		this.upforShort = upforShort;
	}
	
	@Length(min=1, max=255, message="图片路径长度必须介于 1 和 255 之间")
	public String getUpImg() {
		return upImg;
	}

	public void setUpImg(String upImg) {
		this.upImg = upImg;
	}
	
}